#include <stdio.h>

int main()
{
   FILE *fp=fopen("./test.txt","a");

   if(fp==NULL)
   {
     perror("fopen");
   }

  const char* str ="111111\n";

  fputs(str,fp);

  fclose(fp);

    return 0;
}
